﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace LeadCRM.Entities
{
    public class Menu
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int MenuID { get; set; }
        public string MenuName { get; set; }
        public string Description { get; set; }
        public string MenuURL { get; set; }
        public int OrderNo { get; set; }
        public bool isDelete { get; set; }
        public Menu ParentMenu { get; set; }

        public Menu()
        {
            isDelete = false;
        }
    }
}